<?php /* Smarty version Smarty-3.1.16, created on 2014-01-17 08:55:01
         compiled from "D:\CI\system_file\application\admin\views\post\post.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1862852d8d6f76541c4-68110581%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '13232f61b49586c51610d01e8f930ca7a6243347' => 
    array (
      0 => 'D:\\CI\\system_file\\application\\admin\\views\\post\\post.tpl',
      1 => 1389944350,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1862852d8d6f76541c4-68110581',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.16',
  'unifunc' => 'content_52d8d6f76d1cd0_24126519',
  'variables' => 
  array (
    'post' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52d8d6f76d1cd0_24126519')) {function content_52d8d6f76d1cd0_24126519($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../template/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php if (isset($_smarty_tpl->tpl_vars['post']->value)) {?>
	<div class='post'>	 
		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['post']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
		<form method="POST" action="/post/update/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
">
			<label for="id">ID</label>
			<input name="id" type="text" class="item" value='<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
'><br />
			<label for="title">TITLE</label>
			<input name="title" type="text" class="item" value='<?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
'><br />
			<label for="description">DESCRIPTION</label>
			<input name="description" type="text" class="item" value='<?php echo $_smarty_tpl->tpl_vars['item']->value['description'];?>
'><br />
			<label for="content">CONTENT</label>
			<input name="content" type="text" class="item" value='<?php echo $_smarty_tpl->tpl_vars['item']->value['content'];?>
'><br />
			<label for="date">DATE</label>
			<input name="date" type="text" class="item" value='<?php echo $_smarty_tpl->tpl_vars['item']->value['date'];?>
'><br />
			<input name="submit" type="submit" value='Update'>
		</form>
		<?php } ?>
	</div>
<?php }?>
<?php echo $_smarty_tpl->getSubTemplate ('../template/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
